package com.fengli.entity;

/******************************************************************************
 * @Package: [com.com.fengli.entity.Account]
 * @ClassName: [Account]
 * @Description: [一句话描述该类的功能]
 * @Author: [com.fengli@founder.com.cn]
 * @CreateDate: [2018/12/25 15:33]   
 * @UpdateUser: [com.fengli@founder.com.cn (如多次修改保留历史记录，增加修改记录)]
 * @UpdateDate: [2018/12/25 15:33，(如多次修改保留历史记录，增加修改记录)]   
 * @UpdateRemark: [说明本次修改内容, (如多次修改保留历史记录 ， 增加修改记录)]
 * @Version: [v1.0]
 * ${tags}
 */
public class Account {
    //
    private Integer id;
    //账号
    private String username;
    //账户余额
    private Integer balance;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String account) {
        this.username = account;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "account:"+getUsername()+"   balance:"+getBalance();
    }
}
